using Vin.Extension.Framework.Aop;
using Vin.Extension.Framework.Dto;
using Vin.Extension.Framework.Models;
using Vin.Extension.JwtBearer.Attributes;
using Vin.Tool.Attributes;

namespace Vin.Extension.Framework.Adapter;

public interface IVinAuthorizeAdapter
{
    public void BeginAuthorize(VinAuthorizeAttribute attribute);
    
    public bool Authorize(VinTokenModel model);
    
    public void EndAuthorize();
}